package org.warehouse.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
public class Main {
    
    private String jdbcUrl;
    
    
    

    @RequestMapping(value = "/", method = RequestMethod.GET)
    public String sayHello() {
        System.out.println(jdbcUrl);
        return "index";
    }
    
//    @RequestMapping(value = "/list.json", method = RequestMethod.GET)
//    @ResponseBody
//    public List<Item> taskList() {
//        return taskService.listTask();
//    }
    
}
